package startup

import (
	"fmt"
	"log"
	"net/http"
	_ "net/http/pprof"
)

func MonitorInit() {
	go func() {
		err := http.ListenAndServe(":8002", nil)
		if err != nil {
			fmt.Println("MonitorInit err:", err.Error())
			log.Fatalf("MonitorInit err: %v", err)
		}
	}()
}
